﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="TaggingRestaurants.aspx.vb" Inherits="LondonItalianRestaurants.TaggingRestaurants" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    DataSourceID="SqlDataSource1">
    <Columns>
        <asp:BoundField DataField="RestaurantName" HeaderText="RestaurantName" 
            SortExpression="RestaurantName" />
    </Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
    ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
    SelectCommand="SELECT [RestaurantName], [TagName] FROM [TagRestaurantView] WHERE ([TagName] = ?)">
    <SelectParameters>
        <asp:QueryStringParameter Name="TagName" QueryStringField="TagName" 
            Type="String" />
    </SelectParameters>
</asp:SqlDataSource>
</asp:Content>
